home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Debug Timer / DebugTimer.h < prev   
Text File  |  2000-06-23  |  308b  |  29 lines

  1. // DebugTimer.h
  2.  
  3. #ifndef DebugTimer_h
  4. #define DebugTimer_h
  5.  
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9.  
  10. class DebugTimer
  11.   {
  12.     private:
  13.         uint32 start;
  14.         bool running;
  15.         
  16.         static uint32 Now();
  17.         
  18.     public:
  19.         DebugTimer();
  20.         
  21.         void Start();
  22.         void Show();
  23.         void Stop();
  24.         
  25.         ~DebugTimer();
  26.   };
  27.  
  28. #endif
  29.